/* About Page Specific Styles */

/* Override body styles for about page */
.about-page {
    overflow: auto;
    background-color: #F5F5F5;
}

/* Remove physics world for about page */
.about-page #physics-world {
    display: none;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5; /* Lower than header z-index: 10 to prevent blocking navigation */
    padding: 20px;
}

/* Responsive sidebar positioning anchored 20px left of main content */
/* Default: about-main margin-left = 430px */
@media (min-width: 1400px) {
    .sidebar {
        left: 350px; /* 430 - ~80 (sidebar width + 20px gap) */
        padding-left: 0;
    }
}

/* about-main margin-left = 200px */
@media (max-width: 1400px) and (min-width: 1200px) {
    .sidebar {
        left: 120px; /* 200 - ~80 */
        padding-left: 0;
    }
}

/* about-main margin-left = 100px */
@media (max-width: 1200px) and (min-width: 1024px) {
    .sidebar {
        left: 20px; /* 100 - ~80 */
        padding-left: 0;
    }
}

/* Tablets: about-main margin-left = 80px */
@media (max-width: 1024px) and (min-width: 769px) {
    .sidebar {
        left: 0px; /* 80 - ~80 keeps a ~20px visual gap due to rounding */
        padding-left: 0;
    }
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-button {
    width: 40px;
    height: 40px;
    background-color: #E5E5E5;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sidebar-button:hover {
    background-color: #B31B1B;
    transform: scale(1.05);
}

.sidebar-button.active {
    background-color: #B31B1B;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.sidebar-button.active .sidebar-icon {
    filter: invert(1);
}

.sidebar-button:hover .sidebar-icon {
    filter: invert(1);
}

.sidebar-button:not(.active):not(:hover) .sidebar-icon {
    filter: invert(0.5);
}

/* Main Content Layout */
.about-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
}

/* Responsive layout adjustments */
@media (max-width: 1400px) {
    .about-main {
        padding: 40px 40px;
    }
}

@media (max-width: 1200px) {
    .about-main {
        padding: 30px 30px;
    }
}

.about-content {
    width: 100%;
}

/* Section Styles */
.section {
    min-height: 100vh;
    padding: 60px 0;
    scroll-margin-top: 120px;
}

/* Override min-height for lecture section since it has less content */
.section#lecture {
    min-height: auto;
}

/* Lecturer Spotlight Styles */
.lecturer-spotlight {
    background: linear-gradient(135deg, #fcf8fb 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px;
    margin: 32px 0 32px 0;
    border: 1px solid #e2e8f0;
}

.lecturer-spotlight-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.lecturer-photo {
    width: 160px;
    height: 160px;
    border-radius: 10%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 4px solid #ffffff;
    object-fit: cover;
}

.guest-lecturer-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #E30B05 ;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.lecturer-name {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    text-align: center;
}

.lecturer-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 20px;
    text-align: center;
}

.lecturer-bio {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.lecturer-bio strong {
    color: #B31B1B;
    font-weight: 600;
}

.lecturer-education {
    margin-top: 16px;
    text-align: center;
}

.education-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.education-detail {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    margin: 0;
}

/* Responsive design for lecturer spotlight */
@media (min-width: 768px) {
    .lecturer-spotlight-content {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    
    .lecturer-name,
    .lecturer-title,
    .lecturer-bio,
    .lecturer-education {
        text-align: left;
    }
}

/* Lecture Abstract Styles */
.lecture-abstract {
    background-color: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin: 24px auto 0 auto;
    max-width: 900px;
}

.abstract-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.lecture-abstract .section-text {
    color: #374151;
    margin-bottom: 12px;
}

.lecture-abstract .section-text:last-child {
    margin-bottom: 0;
}

.lecture-abstract strong {
    color: #B31B1B;
    font-weight: 600;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #B31B1B;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 32px;
    line-height: 1.3;
}

.section-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Highlight Box */
.highlight-box {
    background-color: white;
    border-left: 4px solid #B31B1B;
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.highlight-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #B31B1B;
    margin-bottom: 12px;
}

.highlight-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Rules Section */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.rule-item {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rule-item-wide {
    grid-column: span 2;
}

.rule-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rule-list li {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.rule-list li::before {
    content: "•";
    color: #B31B1B;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Schedule Timeline */
.schedule-timeline {
    margin-top: 40px;
}

.timeline-item {
    display: flex;
    margin-bottom: 32px;
    align-items: flex-start;
}

.timeline-time {
    background-color: #B31B1B;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    min-width: 100px;
    text-align: center;
    margin-right: 24px;
    flex-shrink: 0;

}

.timeline-content {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.timeline-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Prizes Section */
.prizes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.prize-category {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.prize-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
}

.prize-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prize-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid transparent;
}

.prize-item.gold {
    background-color: #FFF9E6;
    border-color: #FFD700;
}

.prize-item.silver {
    background-color: #F8F8F8;
    border-color: #C0C0C0;
}

.prize-item.bronze {
    background-color: #FFF5E6;
    border-color: #CD7F32;
}

.prize-item.honorable {
    background-color: #F0F8FF;
    border-color: #B31B1B;
}

.prize-rank {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    min-width: 70px;
    margin-right: 16px;
}

.prize-details {
    flex: 1;
}

.prize-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.prize-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #B31B1B;
}

.additional-recognition {
    margin-top: 40px;
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.recognition-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.recognition-item {
    text-align: center;
    padding: 20px;
    background-color: #F9F9F9;
    border-radius: 8px;
}

.recognition-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #B31B1B;
    margin-bottom: 8px;
}

.recognition-item p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info, .contact-form {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
    user-select: none;
    resize: none;
    pointer-events: none;
}

.contact-item {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E5E5;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.contact-role {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #B31B1B;
    margin-bottom: 8px;
}

.contact-detail {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    margin-bottom: 4px;
}

/* Form Styles */
.message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px;
    border: 1px solid #D0D0D0;
    border-radius: 6px;
    background-color: white;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B31B1B;
}

.submit-button {
    background-color: #B31B1B;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    
}

.submit-button:hover {
    background-color: #9A1515;
}

.location-info {
    margin-top: 40px;
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.location-details p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
}

.location-details p:first-child {
    font-weight: 600;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-main {
        padding: 30px 30px;
    }
    
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 400px;
        padding: 0 20px;
    }
    
    .sidebar-nav {
        flex-direction: row;
        justify-content: center;
        background-color: white;
        padding: 12px;
        border-radius: 25px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .sidebar-button {
        width: 50px;
        height: 50px;
    }
    
    .about-main {
        padding: 40px 20px;
        margin-bottom: 100px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 20px;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .timeline-time {
        margin-right: 0;
        margin-bottom: 12px;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .about-main {
        padding: 20px 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .sidebar-nav {
        gap: 8px;
        padding: 8px;
    }
    
    .sidebar-button {
        width: 45px;
        height: 45px;
    }
    
    .sidebar-icon {
        width: 20px;
        height: 20px;
    }
}

/* Footer Styles */
.footer {
    border-top: 2px solid #E5E5E5;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-disclaimer {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-align: right;
    max-width: 400px;
    line-height: 1.5;
    margin: 0;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer {
        margin-bottom: 100px;
    }
    
    .footer-content {
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-disclaimer {
        text-align: center;
        max-width: none;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 32px 0;
        margin-top: 60px;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 24px;
    }
    
    .footer-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .footer-disclaimer {
        font-size: 12px;
    }
} 